﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mindfor.Web.Data;

namespace Mindfor.Web.Models
{
	/// <summary>
	/// Contains information for MCE.
	/// </summary>
	public class MceModel
	{
		/// <summary>
		/// Gets or sets folder for media manager.
		/// </summary>
		public Folder Folder { get; set; }

		/// <summary>
		/// Gets or sets if media manager is enabled.
		/// </summary>
		public bool IsMediaEnabled { get; set; }

		/// <summary>
		/// Initialzies new instance.
		/// </summary>
		/// <param name="isMediaEnabled">Whether media manager is enabled.</param>
		/// <param name="folder">Folder for media manager.</param>
		public MceModel(bool isMediaEnabled, Folder folder)
		{
			IsMediaEnabled = isMediaEnabled;
			Folder = folder;
		}
	}
}
